Tables [dbo].[ComponentCategoryRef]
Properties
PropertyValue
Created10:31:17 AM Tuesday, March 02, 2010
Last Modified11:40:01 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_ComponentCategoryRef: ComponentCategoryKeyComponentCategoryKeyuniqueidentifier16
No
(newid())
Indexes AK_ComponentCategoryRef_ComponentCategoryDesc: ComponentCategoryNameComponentCategoryNamenvarchar(30)60
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_ComponentCategoryRef: ComponentCategoryKeyPK_ComponentCategoryRefComponentCategoryKey
Yes
AK_ComponentCategoryRef_ComponentCategoryDescComponentCategoryName
Yes
SQL Script
CREATE TABLE [dbo].[ComponentCategoryRef]
(
[ComponentCategoryKey] [uniqueidentifier] NOT NULL CONSTRAINT [DF_ComponentCategoryRef_ComponentCategoryKey] DEFAULT (newid()),
[ComponentCategoryName] [nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[ComponentCategoryRef] ADD CONSTRAINT [PK_ComponentCategoryRef] PRIMARY KEY CLUSTERED ([ComponentCategoryKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ComponentCategoryRef] ADD CONSTRAINT [AK_ComponentCategoryRef_ComponentCategoryDesc] UNIQUE NONCLUSTERED ([ComponentCategoryName]) ON [PRIMARY]
GO
Uses
Used By